普通文本  |  114行  |  2.62 KB

SectionVerb {
	Value {
		ExtraMainVolume "DAC1"
	}

	EnableSequence [
		cdev "hw:Ryu"

		cset "name='ADC1 Capture Volume' 31"
		cset "name='STO1 ADC Boost Volume' 2"
		cset "name='Sidetone Volume' 0"

		cset "name='OUT1 Playback Switch' on"
		cset "name='OUT2 Playback Switch' on"
		cset "name='DAC1 Playback Volume' 175"
		cset "name='DAC2 Playback Volume' 175"

		cset "name='DAC12 SRC Mux' STO1 DAC MIX"

		cset "name='Headphone Switch' off"
		cset "name='Headset Mic Switch' off"
		cset "name='Internal Mic 1 Switch' on"
		cset "name='Internal Mic 2 Switch' off"
		cset "name='Speaker Switch' on"

		cset "name='PDM1 L Mux' STO1 DAC MIX"
		cset "name='PDM2 L Mux' STO1 DAC MIX"

		cset "name='Stereo DAC MIXL ST L Switch' off"
		cset "name='Stereo DAC MIXL DAC2 L Switch' off"
		cset "name='Stereo DAC MIXL DAC1 R Switch' off"
		cset "name='Stereo DAC MIXL DAC1 L Switch' on"

		cset "name='Stereo DAC MIXR ST R Switch' off"
		cset "name='Stereo DAC MIXR DAC2 R Switch' off"
		cset "name='Stereo DAC MIXR DAC1 L Switch' off"
		cset "name='Stereo DAC MIXR DAC1 R Switch' on"

		cset "name='IF1 ADC1 Mux' STO1 ADC MIX"
		cset "name='IF1 ADC1 Swap Mux' L/R"

		cset "name='DAC1 MIXL Stereo ADC Switch' off"
		cset "name='DAC1 MIXL DAC1 Switch' on"

		cset "name='DAC1 Mux' IF1 DAC 01"

		cset "name='Stereo1 DMIC Mux' DMIC1"
		cset "name='Stereo1 ADC2 Mux' DMIC"
		cset "name='Stereo1 ADC1 Mux' ADC1/2"

		cset "name='Sto1 ADC MIXL ADC1 Switch' off"
		cset "name='Sto1 ADC MIXL ADC2 Switch' on"
		cset "name='Sto1 ADC MIXR ADC1 Switch' off"
		cset "name='Sto1 ADC MIXR ADC2 Switch' on"
	]

	DisableSequence [
	]
}

SectionDevice."Headphone".0 {
	Value {
		JackName "NVIDIA Tegra Ryu Headphone Jack"
	}

	EnableSequence [
		cdev "hw:Ryu"
		cset "name='Speaker Switch' off"
		cset "name='Headphone Switch' on"
	]

	DisableSequence [
		cdev "hw:Ryu"
		cset "name='Headphone Switch' off"
		cset "name='Speaker Switch' on"
	]
}

SectionDevice."Mic".0 {
	Value {
		JackName "NVIDIA Tegra Ryu Mic Jack"
	}

	EnableSequence [
		cdev "hw:Ryu"

		cset "name='Internal Mic 1 Switch' off"

		cset "name='IF1 ADC1 Swap Mux' L/L"

		cset "name='Sto1 ADC MIXL ADC2 Switch' off"
		cset "name='Sto1 ADC MIXR ADC2 Switch' off"
		cset "name='Sto1 ADC MIXL ADC1 Switch' on"
		cset "name='Sto1 ADC MIXR ADC1 Switch' on"

		cset "name='Headset Mic Switch' on"
	]

	DisableSequence [
		cdev "hw:Ryu"

		cset "name='Headset Mic Switch' off"

		cset "name='IF1 ADC1 Swap Mux' L/R"

		cset "name='Sto1 ADC MIXL ADC1 Switch' off"
		cset "name='Sto1 ADC MIXR ADC1 Switch' off"
		cset "name='Sto1 ADC MIXL ADC2 Switch' on"
		cset "name='Sto1 ADC MIXR ADC2 Switch' on"

		cset "name='Internal Mic 1 Switch' on"
	]
}